package com.wxlgroup.springboot.service;
import com.wxlgroup.springboot.entity.Department;
import java.util.List;

public interface DepartmentService {


    //根据部门名称查询部门编号
    public int queryDepartmentIdByName(String name);

    //查询所有的部门信息
    public Object queryAllDepartments(String departmentName,int pageNumber,int pageSize);

    //根据部门编号查询对应部门拥有的员工数量
    public int countEmployees(int departmentId);

    //修改部门信息
    public int updateDepartmentById(Department department);
}
